cmake_minimum_required(VERSION 2.6)
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)

project(empty)

# find library
set(Boost_USE_STATIC_LIBS ON)
find_package(Boost REQUIRED)
include_directories(${Boost_INCLUDE_DIRS})
link_directories(${Boost_LIBRARY_DIRS})

if (64BIT)
add_definitions(-D__64BIT__)
endif()


if (DEBUG)
add_definitions(-D__DEBUG__)
endif()

set(empty_SOURCES
	EventDelegate.hpp
	EventDelegate.cc
	Main.cc
	
	Empty.rc
	resource.h
)


include_directories(
	"${PROJECT_SOURCE_DIR}/../deps/graphics/graphics"
	"C:\\Program Files (x86)\\Microsoft DirectX SDK (June 2010)\\Include"
)
link_directories(
	"C:\\Program Files (x86)\\Microsoft DirectX SDK (June 2010)\\Lib\\x64"
)

add_executable(empty WIN32 ${empty_SOURCES})
target_link_libraries(empty graphics dx9 d3d9 winmm comctl32)